#include "type.h"
#include "protectmode.h"


typedef struct s_proc {
	int16				TssSelector;
	int16				ldt_sel;		/* selector in gdt giving ldt base and limit*/
	DESCRIPTOR			ldts[LDT_SIZE];		/* local descriptors for code and data */
	int32				pid;			/* process id passed in from MM */
	char				p_name[16];		/* name of the process */
	TSS					tss;
	int8				running_state;
}PROCESS;

#ifndef _PROCESS_MICR_
#define _PROCESS_MICR_
#define NR_TASKS	3

#define STACK_SIZE_TESTA	0x200

#define STACK_SIZE_TOTAL	STACK_SIZE_TESTA

#endif
